package bytecode;

import agent.PreMainTraceAgentJavassist;
import javassist.*;

public class JavassistTest {
    public static void main(String[] args) throws NotFoundException, CannotCompileException, InstantiationException, IllegalAccessException {
        //先加载类再增强
//        Base b=new Base();

        PreMainTraceAgentJavassist.DefineTransformer defineTransformer = new PreMainTraceAgentJavassist.DefineTransformer();
        defineTransformer.adivceTest();
    }
}
